#include "servosyncthread.h"
#include "servoagent.h"

void ServoSyncThread::run()
{
    //HIM_INFO(tr("PLC polling thread run").toStdString());
    QTimer timer;
    connect(&timer,&QTimer::timeout,this,&ServoSyncThread::on_timeout,Qt::DirectConnection);
    timer.start(100);
    exec();
    //HIM_INFO(tr("PLC polling thread quit").toStdString());
    return;
}

void ServoSyncThread::on_timeout()
{
    //SERVOAGENT.doServoSync();
}
